package com.kaifamiao.N0805;

public class Test3 {

    public static void main(String[] args) {
        MyList myList = new MyList();

        myList.add("1");
        myList.add("2");
        myList.add("3");
        myList.add("4");
        myList.add("5");
        System.out.println(myList.get(4));
        myList.add("x",2);
        myList.remove(3);
        myList.remove("2");
        System.out.println(myList.toString());
    }



}
